package com.learn.util;

import java.io.Serializable;
import java.util.List;

/**
 * @description: 描述
 * @author: Mr.Hu
 * @create: 2022/3/21 16:33
 **/
public class QueryResult <T> implements Serializable {
    private int total;
    private List<T> rows;
    private String msg = "false";

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.msg = "success";
        this.rows = rows;
    }


}
